Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 6 - Sequence Grabber Channel Components / Sequence Grabber Channel Components Reference
Functions / Configuration Functions for Sound Channel Components


SGGetChannelVolume

The SGGetChannelVolume function allows the sequence grabber component to determine your channel's sound volume setting.

pascal ComponentResult SGGetChannelVolume (SGChannel c,
                                           short *volume);
c
Identifies the channel connection for this operation.
volume
Contains a pointer to an integer that is to receive the volume setting of the channel represented as a 16-bit, fixed-point number. The high-order 8 bits contain the integer part of the value; the low-order 8 bits contain the fractional part. Volume values range from -1.0 to 1.0. Negative values play no sound but preserve the absolute value of the volume setting.
SEE ALSO
The sequence grabber component establishes the volume setting by calling the SGSetChannelVolume function, described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help